package com.dayu.demo.pojo;

import java.util.Map;
import javax.persistence.Column;
import com.vecspace.data.model.RowMapper;

/** 项目信息
 * @template dayu-code-builder
 * @author user
 * @reviewer 
 * @createTime 2021-11-25 17:22:27
 */
public class ProjectEx extends Project implements java.io.Serializable {
  private static final long serialVersionUID = 20013L;

    public ProjectEx(){
    }

    public ProjectEx(Project project){
        setProject(project);
    }
    /**拷贝project对象的属性值赋值到本对象的属性值*/
    public void setProject(Project obj){
        this.setId(obj.getId());
        this.setName(obj.getName());
        this.setFullName(obj.getFullName());
        this.setCode(obj.getCode());
        this.setAddress(obj.getAddress());
        this.setLng(obj.getLng());
        this.setLat(obj.getLat());
        this.setProjectKind(obj.getProjectKind());
        this.setSalesManager(obj.getSalesManager());
        this.setDistrictCode(obj.getDistrictCode());
        this.setProjectManager(obj.getProjectManager());
        this.setInitialDate(obj.getInitialDate());
        this.setBidDate(obj.getBidDate());
        this.setContractAmount(obj.getContractAmount());
        this.setProjectMonths(obj.getProjectMonths());
        this.setProjectContent(obj.getProjectContent());
        this.setProjectStatus(obj.getProjectStatus());
        this.setProjectScore(obj.getProjectScore());
        this.setProjectOwner(obj.getProjectOwner());
        this.setLinkMan(obj.getLinkMan());
        this.setLinkPhone(obj.getLinkPhone());
        this.setAbort(obj.getAbort());
        this.setRemarks(obj.getRemarks());
        this.setOrdnum(obj.getOrdnum());
        this.setTenantId(obj.getTenantId());
        this.setRowLock(obj.getRowLock());
        this.setCreateTime(obj.getCreateTime());
        this.setCreateUser(obj.getCreateUser());
    }
    
    @Override
    public void parseFrom(Map<String, Object> row){
        super.parseFrom(row);
        RowMapper rowMapper = new RowMapper(row);
    }
}
